<?php
/**
 * usermonitorpagedefine.php
 * Create on 2015-05-28
 * Create by yuebin
 */
namespace haibao\cms\model\data\behavior;

class UserMonitorPageDefine extends \haibao\cms\model\data\Base{
	
	const STATUS_ENABLE = 1;
	const STATUS_DISENABLE = 0;
	
	const EVENT_CODE_CLICK = 'click';
	const EVENT_CODE_PV = 'pv';
	
	/**
	 * 站点Id
	 */
	public $SiteId;	
	/**
	 * 正则URL
	 */
	public $PageUrlRegex;
	/**
	 * 名称
	 */
	public $MonitorName;
	/**
	 * 监测事件类别
	 */
	public $EventCode;

	public $Status = 1;
	public $CreateBy;
	public $CreateTime;
	public $UserInfo;
	public $SiteInfo;
	public $PageUrlUnRegex;
	public $ShowUrl = '';
	
	public $Regions = array();
	
	public function __construct(){
		parent::__construct();

		$this->intField('SiteId', 'SiteId',true);
		$this->stringField('PageUrlRegex', 'PageUrlRegex',true);
		$this->stringField('MonitorName', 'MonitorName',true);
		$this->stringField('EventCode', 'EventCode',true);
		$this->stringField('CreateBy', 'CreateBy',true);
		$this->stringField('CreateTime', 'CreateTime',true);
		$this->intField('Status', 'Status');
		$this->stringField('PageUrlUnRegex', 'PageUrlUnRegex');
		$this->stringField('ShowUrl','ShowUrl');
		$this->setTableName('UserMonitorPageDefine');
	}
	
}